package com.ruoyi.mng.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 商户额度变更日志对象 hz_mer_balance_log
 * 
 * @author chenqiang
 * @date 2023-04-28
 */
public class HzMerBalanceLog extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** log_id */
    @Excel(name = "log_id")
    private Long logId;

    /** 额度主键 */
    @Excel(name = "额度主键")
    private Long balanceId;

    /** 变更类型 1-人工入账 2-代付出账 3-代付失败退款入账 4-系统自动入账 */
    @Excel(name = "变更类型 1-人工入账 2-代付出账 3-代付失败退款入账 4-系统自动入账")
    private Long dealType;

    /** 变更金额 */
    @Excel(name = "变更金额")
    private BigDecimal amount;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setLogId(Long logId) 
    {
        this.logId = logId;
    }

    public Long getLogId() 
    {
        return logId;
    }
    public void setBalanceId(Long balanceId) 
    {
        this.balanceId = balanceId;
    }

    public Long getBalanceId() 
    {
        return balanceId;
    }
    public void setDealType(Long dealType) 
    {
        this.dealType = dealType;
    }

    public Long getDealType() 
    {
        return dealType;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("logId", getLogId())
            .append("balanceId", getBalanceId())
            .append("dealType", getDealType())
            .append("amount", getAmount())
            .append("remark", getRemark())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
